<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>InfGtkCertificateView</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.0">
<link rel="home" href="index.html" title="libinfgtk-0.4 Reference Manual">
<link rel="up" href="ch01.html" title="libinfgtk API">
<link rel="prev" href="InfGtkCertificateDialog.html" title="InfGtkCertificateDialog">
<link rel="next" href="InfGtkChat.html" title="InfGtkChat">
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="InfGtkCertificateDialog.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">libinfgtk-0.4 Reference Manual</th>
<td><a accesskey="n" href="InfGtkChat.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#InfGtkCertificateView.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#InfGtkCertificateView.description" class="shortcut">Description</a>
                   | 
                  <a href="#InfGtkCertificateView.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#InfGtkCertificateView.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
                   | 
                  <a href="#InfGtkCertificateView.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry" title="InfGtkCertificateView">
<a name="InfGtkCertificateView"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="InfGtkCertificateView.top_of_page"></a>InfGtkCertificateView</span></h2>
<p>InfGtkCertificateView</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="InfGtkCertificateView.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">                    <a class="link" href="InfGtkCertificateView.html#InfGtkCertificateView-struct" title="InfGtkCertificateView">InfGtkCertificateView</a>;
<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="InfGtkCertificateView.html#inf-gtk-certificate-view-new" title="inf_gtk_certificate_view_new ()">inf_gtk_certificate_view_new</a>        (<em class="parameter"><code><span class="type">void</span></code></em>);
<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="InfGtkCertificateView.html#inf-gtk-certificate-view-new-with-certificate" title="inf_gtk_certificate_view_new_with_certificate ()">inf_gtk_certificate_view_new_with_certificate</a>
                                                        (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gnutls/gnutls-gnutls.html#gnutls-x509-crt-t"><span class="type">gnutls_x509_crt_t</span></a> cert</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="InfGtkCertificateView.html#inf-gtk-certificate-view-set-certificate" title="inf_gtk_certificate_view_set_certificate ()">inf_gtk_certificate_view_set_certificate</a>
                                                        (<em class="parameter"><code><a class="link" href="InfGtkCertificateView.html" title="InfGtkCertificateView"><span class="type">InfGtkCertificateView</span></a> *view</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gnutls/gnutls-gnutls.html#gnutls-x509-crt-t"><span class="type">gnutls_x509_crt_t</span></a> cert</code></em>);
</pre>
</div>
<div class="refsect1" title="Object Hierarchy">
<a name="InfGtkCertificateView.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
   +----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
         +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html">GtkObject</a>
               +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html">GtkWidget</a>
                     +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkContainer.html">GtkContainer</a>
                           +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkNotebook.html">GtkNotebook</a>
                                 +----InfGtkCertificateView
</pre>
</div>
<div class="refsect1" title="Implemented Interfaces">
<a name="InfGtkCertificateView.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
InfGtkCertificateView implements
 AtkImplementorIface and  <a href="http://library.gnome.org/devel/gtk/unstable/gtk-gtkbuildable.html#GtkBuildable">GtkBuildable</a>.</p>
</div>
<div class="refsect1" title="Properties">
<a name="InfGtkCertificateView.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="InfGtkCertificateView.html#InfGtkCertificateView--certificate" title='The "certificate" property'>certificate</a>"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>              : Read / Write
</pre>
</div>
<div class="refsect1" title="Description">
<a name="InfGtkCertificateView.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" title="Details">
<a name="InfGtkCertificateView.details"></a><h2>Details</h2>
<div class="refsect2" title="InfGtkCertificateView">
<a name="InfGtkCertificateView-struct"></a><h3>InfGtkCertificateView</h3>
<pre class="programlisting">typedef struct _InfGtkCertificateView InfGtkCertificateView;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="inf_gtk_certificate_view_new ()">
<a name="inf-gtk-certificate-view-new"></a><h3>inf_gtk_certificate_view_new ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         inf_gtk_certificate_view_new        (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Creates a new <a class="link" href="InfGtkCertificateView.html" title="InfGtkCertificateView"><span class="type">InfGtkCertificateView</span></a>. To show a certificate, use
<a class="link" href="InfGtkCertificateView.html#inf-gtk-certificate-view-set-certificate" title="inf_gtk_certificate_view_set_certificate ()"><code class="function">inf_gtk_certificate_view_set_certificate()</code></a> on the returned widget.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A new <a class="link" href="InfGtkCertificateView.html" title="InfGtkCertificateView"><span class="type">InfGtkCertificateView</span></a>.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_gtk_certificate_view_new_with_certificate ()">
<a name="inf-gtk-certificate-view-new-with-certificate"></a><h3>inf_gtk_certificate_view_new_with_certificate ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         inf_gtk_certificate_view_new_with_certificate
                                                        (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gnutls/gnutls-gnutls.html#gnutls-x509-crt-t"><span class="type">gnutls_x509_crt_t</span></a> cert</code></em>);</pre>
<p>
Creates a new <a class="link" href="InfGtkCertificateView.html" title="InfGtkCertificateView"><span class="type">InfGtkCertificateView</span></a> showing the given certificate. This
is the same as creating a new certificate view and calling
<a class="link" href="InfGtkCertificateView.html#inf-gtk-certificate-view-set-certificate" title="inf_gtk_certificate_view_set_certificate ()"><code class="function">inf_gtk_certificate_view_set_certificate()</code></a> afterwards.
</p>
<p>
<em class="parameter"><code>cert</code></em> must not be freed as long as the certificate view is showing it. You
can make the view not showing it anymore by calling
<a class="link" href="InfGtkCertificateView.html#inf-gtk-certificate-view-set-certificate" title="inf_gtk_certificate_view_set_certificate ()"><code class="function">inf_gtk_certificate_view_set_certificate()</code></a> with <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> as certificate.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cert</code></em> :</span></p></td>
<td>The certificate to show.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A new <a class="link" href="InfGtkCertificateView.html" title="InfGtkCertificateView"><span class="type">InfGtkCertificateView</span></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_gtk_certificate_view_set_certificate ()">
<a name="inf-gtk-certificate-view-set-certificate"></a><h3>inf_gtk_certificate_view_set_certificate ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                inf_gtk_certificate_view_set_certificate
                                                        (<em class="parameter"><code><a class="link" href="InfGtkCertificateView.html" title="InfGtkCertificateView"><span class="type">InfGtkCertificateView</span></a> *view</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gnutls/gnutls-gnutls.html#gnutls-x509-crt-t"><span class="type">gnutls_x509_crt_t</span></a> cert</code></em>);</pre>
<p>
Shows the given certificate in <em class="parameter"><code>view</code></em>.
</p>
<p>
<em class="parameter"><code>cert</code></em> must not be freed as long as the certificate view is showing it. You
can make the view not showing it anymore by calling
<a class="link" href="InfGtkCertificateView.html#inf-gtk-certificate-view-set-certificate" title="inf_gtk_certificate_view_set_certificate ()"><code class="function">inf_gtk_certificate_view_set_certificate()</code></a> with <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> as certificate.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
<td>A <a class="link" href="InfGtkCertificateView.html" title="InfGtkCertificateView"><span class="type">InfGtkCertificateView</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>cert</code></em> :</span></p></td>
<td>The certificate to show.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" title="Property Details">
<a name="InfGtkCertificateView.property-details"></a><h2>Property Details</h2>
<div class="refsect2" title='The "certificate" property'>
<a name="InfGtkCertificateView--certificate"></a><h3>The <code class="literal">"certificate"</code> property</h3>
<pre class="programlisting">  "certificate"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>              : Read / Write</pre>
<p>The certificate to show.</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.15</div>
</body>
</html>